* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: PingFang SC, "PingFang SC", "Microsoft YaHei", "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "微软雅黑", "STHeiti", "WenQuanYi Micro Hei", SimSun, sans-serif, iconfont;
}

.pc {
  .mobile-player-block {
    display: none;
  }
  .mobile-fixed-card {
    display: none;
  }
  .mobile-footer-block {
    display: none;
  }
  &-player-block {
    width: 100%;
    height: 100%;

    .img-size {
      width: 100%;
      display: block;
    }

    .img-jai {
      position: absolute;
      left: 40px;
      top: 100px;
      cursor: pointer;
    }

    .img-game {
      position: absolute;
      left: 158px;
      top: 100px;
      cursor: pointer;
    }
  }

  main {
    background-color: #FDF4D8;
    overflow-x: hidden;
    .back-top {
      display: none;
      height: 48px;
      width: 48px;
      border-radius: 50%;
      z-index: 3;
      bottom: 380px;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      background-image: url("../assets/back_top.png");
      position: fixed;
      text-align: center;
      right: 40px;
      cursor: pointer;
    }

    .pc-fixed-card {
      padding: 70px 20px;
      width: 180px;
      background-repeat: no-repeat;
      background-size: 100% 100%;
      background-image: url("../assets/fixed.png");
      position: fixed;
      z-index: 3;
      top: calc(50% - 180px);
      margin-left: 40px;

      .count-down-title-zh {
        font-weight: 400;
        font-size: 28px;
        color: #FDF4D8;
        text-align: center;
        line-height: 28px;
        margin-bottom: 16px;
      }

      .count-down-interval {
        font-weight: 400;
        font-size: 48px;
        color: #FDF4D8;
        text-align: center;
        line-height: 48px;
        margin-bottom: 12px;
      }

      .count-down-unit {
        font-weight: 400;
        font-size: 18px;
        color: #FDF4D8;
        text-align: center;
        line-height: 18px;
        margin-bottom: 32px;
      }

      .pc-upload-btn {
        width: 140px;
        height: 40px;
        background: #7D4729;
        border-radius: 20px;
        border: none;
        text-align: center;
        line-height: 40px;
        cursor: pointer;

        .upload-btn-zh {
          font-weight: 400;
          font-size: 18px;
          color: #FFFFFF;
          white-space: nowrap;
        }
      }
      .pc-upload-btn-disabled {
        background-color: #DCDFE6;
      }
    }

    .navi-block-menu {
      list-style: none;
      width: 100%;
      padding: 22px calc((100% - 1286px) / 2);
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: #7D4729;
      flex-wrap: wrap;
      row-gap: 24px;
      li {
        max-height: 66px;
        background-color: #E6A65F;
        font-weight: 400;
        font-size: 24px;
        color: #FDF4D8;
        border-radius: 8px;
        cursor: pointer;
        padding: 20px;
        text-align: center;
        display: flex;
        align-items: center;
        white-space: nowrap;
      }

      .switch-language {
        position: absolute;
        right: 36px;
        margin: auto 0;

        label {
          font-weight: 400;
          font-size: 16px;
          color: #FDF4D8;
          line-height: 32px;
        }

        select {
          border: none;
          outline: none;
          background-color: transparent;
          appearance: none;
          font-weight: 400;
          font-size: 24px;
          color: #FDF4D8;
          line-height: 32px;
        }

        option {
          background: #E6A65F;
          border-radius: 12px;
          font-weight: 400;
          font-size: 20px;
          color: #FFFFFF;
          overflow: hidden;
          padding: 20px 0;
          text-align: center;
        }
      }
    }

    .navi-default {
      position: relative;
    }

    .navi-sticky {
      position: fixed;
      top: 0;
      z-index: 3;
    }

    .main-container {
      width: 100%;
      background-image: url("../assets/btm_bg.png");
      background-position: bottom center;
      background-repeat: no-repeat;

      .main-block {
        width: 75%;
        margin: 0 auto;
        padding: 70px 0 912px;

        .intro-card {
          border-radius: 20px;
          background-color: #7D4729;
          padding: 36px;
          margin-bottom: 60px;

          &>div {
            padding-top: 36px;
            background-color: #000;
            border-radius: 8px;

            h1 {
              margin: 0 auto 36px;
              width: fit-content;
              font-weight: bold;
              font-size: 48px;
              color: #FDF4D8;
              text-align: center;
              background: #E6A65F;
              border-radius: 12px;
              padding: 18px 40px;
            }
          }

          .intro-section {
            padding-left: 34px;
            padding-right: 34px;
            padding-bottom: 52px;

            &-text {
              p:first-of-type {
                margin-top: -3px;
              }

              p {
                text-indent: 2em;
                line-height: 50px;
                font-size: 28px;
                color: #F8AE4E;
                text-align: justify;
                text-align-last: left;
              }
            }
          }

          .schedule-section {
            padding-left: 60px;
            padding-right: 60px;
            padding-bottom: 36px;

            &-cont {
              table {
                width: 100%;
                border-collapse: collapse;
                border: 1px solid #EBE3C9;

                thead {
                  background-color: #E6A65F;

                  tr {
                    th {
                      border: 1px solid #FDF4D8;
                      font-weight: 400;
                      font-size: 32px;
                      color: #FDF4D8;
                      padding: 20px 0;
                      text-align: center;
                    }
                  }
                }

                tbody {
                  td {
                    padding: 20px 0;
                    border: 1px solid #FDF4D8;
                    text-align: center;
                  }

                  td {
                    font-size: 24px;
                    color: #FDF4D8;
                    font-weight: 400;

                    span {
                      white-space: nowrap;
                    }
                  }
                }
              }
            }
          }

          .awards-section {
            padding-left: 60px;
            padding-right: 60px;
            padding-bottom: 36px;

            &-cont {
              table {
                width: 100%;
                border-collapse: collapse;
                border: 1px solid #EBE3C9;

                thead {
                  background-color: #E6A65F;

                  tr {
                    th {
                      border: 1px solid #FDF4D8;
                      font-weight: 400;
                      font-size: 32px;
                      color: #FDF4D8;
                      padding: 20px 0;
                      text-align: center;
                    }
                  }
                }

                tbody {
                  td {
                    border: 1px solid #EBE3C9;
                    padding: 8px 10px;
                    text-align: center;
                  }

                  td {
                    font-size: 36px;
                    color: #FDF4D8;
                    font-weight: 400;
                  }
                }
              }
            }
          }

          .judging-section {
            padding-left: 34px;
            padding-right: 34px;
            padding-bottom: 36px;

            &-text {
              p:first-of-type {
                margin-top: -3px;
              }

              p {
                text-indent: 2em;
                line-height: 50px;
                font-size: 28px;
                color: #F8AE4E;
                text-align: justify;
                text-align-last: left;
              }
            }

            &-image {
              display: flex;
              justify-content: space-evenly;
              flex-wrap: wrap;
              column-gap: 20px;
              &-left, &-right {
                .mobile-img-size {
                  display: none;
                }
                p {
                  text-align: center;
                  font-weight: 700;
                  font-size: 24px;
                  color: #FDF4D8;
                }
              }
            }
          }

          .design-section {
            padding-left: 34px;
            padding-right: 34px;
            padding-bottom: 36px;

            &-text {
              h2:first-of-type {
                margin-top: 1px;
              }

              h2 {
                color: #F8AE4E;
                font-weight: 650;
                line-height: 50px;
                font-size: 36px;
              }

              h2:not(:first-of-type) {
                margin-top: 60px;
              }

              p {
                text-indent: 2em;
                line-height: 50px;
                font-size: 28px;
                font-weight: 400;
                color: #F8AE4E;
                text-align: justify;
                text-align-last: left;
              }
            }
          }

          .instructions-section {
            padding-left: 34px;
            padding-right: 34px;
            padding-bottom: 36px;

            &-text {
              p:first-of-type {
                margin-top: -3px;
              }

              p {
                text-align: justify;
                text-align-last: left;
                text-indent: 2em;
                line-height: 50px;
                font-size: 28px;
                font-weight: 400;
                color: #F8AE4E;
              }
            }
          }
        }
      }
    }
  }

  footer {
    height: 50px;
    background-color: #2A2C52;

    .footer-block {
      width: 38.75%;
      margin: 0 auto;
      display: flex;
      justify-content: space-around;

      span {
        line-height: 50px;
        font-size: 14px;
        color: #f2f2f2;
        font-weight: 400;
      }

      a {
        line-height: 50px;
        text-decoration: none;
        font-size: 14px;
        color: #f2f2f2;
        font-weight: 400;
      }

      a:nth-of-type(2) {
        display: flex;
        align-items: center;
        img {
          margin-right: 2px;
        }
      }
    }
  }
}

.mobile {
  .pc-player-block {
    display: none;
  }
  .pc-fixed-card {
    display: none;
  }
  .navi-block-menu {
    display: none;
  }
  .footer-block {
    display: none;
  }
  // 菜单栏展开动画
  @keyframes showMenu {
    from {
      width: 0;
    }

    to {
      width: 100%;
    }
  }
  // 菜单栏关闭动画
  @keyframes closeMenu {
    from {
      width: 100%;
    }

    to {
      display: none;
      width: 0;
    }
  }

  &-top-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 3.75rem;
    padding: 0 1.25rem;
    background-color: #7D4729;
    position: fixed;
    top: 0;
    &-text {
      color: #FDF4D8;
      font-size: 0.875rem;
    }

    &-menu {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding-left: 0.625rem;
    }

    .switch-language {
      margin-right: 0.625rem;
      white-space: nowrap;
      label {
        font-weight: 400;
        font-size: 0.75rem;
        color: #FDF4D8;
        line-height: 2;
      }

      select {
        border: none;
        outline: none;
        background-color: transparent;
        appearance: none;
        font-weight: 400;
        font-size: 0.75rem;
        color: #FDF4D8;
        line-height: 2;
      }

      option {
        background: #E6A65F;
        border-radius: 12px;
        font-weight: 400;
        font-size: 0.75rem;
        color: #FFFFFF;
        overflow: hidden;
        padding: 1.25rem 0;
        text-align: center;
      }
    }
  }
  // 菜单栏展开Css
  .menu-content-show {
    animation: showMenu 0.125s linear forwards;
  }
  // 菜单栏关闭css
  .menu-content-close {
    animation: closeMenu 0.125s ease-out forwards;
  }

  &-menu-content {
    display: none;
    justify-content: center;
    align-content: baseline;
    flex-wrap: wrap;
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("../assets/menu-list.png");
    overflow: hidden;

    &-close {
      width: 100%;
      height: 4rem;
      border-bottom: 1px solid #7D4729;
      line-height: 4rem;
      text-align: right;
      padding: 0 0.625rem;

      div {
        margin-top: 0.3125rem;
        font-size: 2rem;
        color: #7D4729;
        width: 3rem;
        height: 3rem;
        text-align: center;
        line-height: 3rem;
        float: right;
      }
    }

    &-list {
      width: 100%;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;

      &-item {
        width: 100%;
        text-align: center;
        padding: 0.9rem 2rem;
        color: #7D4729;
        border-bottom: 1px dashed #7D4729;
      }
    }
  }

  &-player-block {
    width: 100%;
    height: 100%;
    margin-top: 3.75rem;
    .img-size {
      width: 100%;
    }
  }

  .mobile-fixed-card {
    width: 5rem;
    height: 5rem;
    background-color: #7D4729;
    position: fixed;
    z-index: 3;
    top: calc(50% - 5rem);
    margin-left: 2.8rem;
    border-radius: 1.25rem;

    .mobile-upload-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 5rem;
      height: 5rem;
      background: #7D4729;
      border-radius: 1.25rem;
      border: none;
      text-align: center;
      cursor: pointer;

      .upload-btn-zh {
        width: 4.4rem;
        font-weight: 400;
        font-size: 1.5rem;
        color: #FFFFFF;
      }
    }
    .mobile-upload-btn-disabled {
      background-color: #DCDFE6;
    }
  }

  .main-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    background-color: white;
    padding: 0 1.875rem;

    .main-block {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      width: 100%;

      .intro-card {
        width: 100%;
        margin-top: 1.25rem;

        .intro-section {
          display: flex;
          justify-content: center;
          flex-wrap: wrap;

          h1 {
            width: fit-content;
            background-color: #E6A65F;
            color: #FDF4D8;
            text-align: center;
            padding: 1rem 2.5rem;
            border-radius: 0.75rem;
            margin-bottom: 1rem;
          }

          &-text {

            p {
              text-indent: 2em;
              font-size: 1.25rem;
              line-height: 1.75rem;
              color: #F8AE4E;
              text-align: justify;
              text-align-last: left;
            }
          }
        }

        .schedule-section {
          display: flex;
          justify-content: center;
          flex-wrap: wrap;

          h1 {
            margin-top: 2.25rem;
            width: fit-content;
            background-color: #E6A65F;
            color: #FDF4D8;
            text-align: center;
            padding: 1rem 2.5rem;
            border-radius: 0.75rem;
            margin-bottom: 1.5rem;
          }

          &-cont {
            width: 100%;
            table {
              width: 100%;
              border-collapse: collapse;
              border: 1px solid #7D4729;

              thead {
                background-color: #E6A65F;

                tr {
                  th {
                    border: 1px solid #7D4729;
                    font-weight: 400;
                    font-size: 0.75rem;
                    color: #7D4729;
                    padding: 0.625rem 0;
                    text-align: center;
                  }
                }
              }

              tbody {
                td {
                  padding: 1.25rem 0;
                  border: 1px solid #7D4729;
                  text-align: center;
                }
                td {
                  font-size: 0.75rem;
                  color: #7D4729;
                  font-weight: 400;
                }
              }
            }
          }
        }

        .awards-section {
          display: flex;
          justify-content: center;
          flex-wrap: wrap;
          h1 {
            margin-top: 1.25rem;
            width: fit-content;
            background-color: #E6A65F;
            color: #FDF4D8;
            text-align: center;
            padding: 1rem 2.5rem;
            border-radius: 0.75rem;
            margin-bottom: 1.5rem;
          }
          &-cont {
            width: 100%;
            table {
              width: 100%;
              border-collapse: collapse;
              border: 1px solid #7D4729;

              thead {
                background-color: #E6A65F;

                tr {
                  th {
                    border: 1px solid #7D4729;
                    font-weight: 400;
                    font-size: 0.75rem;
                    color: #7D4729;
                    padding: 0.625rem 0;
                    text-align: center;
                  }
                }
              }

              tbody {
                td {
                  border: 1px solid #7D4729;
                  padding: 0.5rem 0.625rem;
                  text-align: center;
                }

                td {
                  color: #7D4729;
                  font-weight: 400;
                  font-size: 0.75rem;
                }
              }
            }
          }
        }

        .judging-section {
          display: flex;
          justify-content: center;
          flex-wrap: wrap;

          h1 {
            margin-top: 1.25rem;
            width: fit-content;
            background-color: #E6A65F;
            color: #FDF4D8;
            text-align: center;
            padding: 1rem 2.5rem;
            border-radius: 0.75rem;
            margin-bottom: 1.25rem;
          }

          &-text {
            p {
              text-indent: 2em;
              font-size: 1.25rem;
              line-height: 1.75rem;
              color: #F8AE4E;
              text-align: justify;
              text-align-last: left;
            }
          }

          &-image {
            display: flex;
            justify-content: space-between;
            width: 100%;
            margin-top: 1.375rem;
            column-gap: 1.25rem;
            align-items: baseline;
            &-left,
            &-right {
              display: flex;
              justify-content: center;
              flex-wrap: wrap;
              flex: 1;
              p {
                margin-top: 1rem;
                width: 100%;
                text-align: center;
                font-weight: 700;
                font-size: 1.5rem;
                color: #7D4729;
                line-height: 1;
              }
              .pc-img-size {
                display: none;
              }
              .mobile-img-size {
                width: 100%;
              }
            }
          }
        }

        .design-section {
          display: flex;
          justify-content: center;
          flex-wrap: wrap;

          h1 {
            margin-top: 1.25rem;
            width: fit-content;
            background-color: #E6A65F;
            color: #FDF4D8;
            text-align: center;
            padding: 1rem 2.5rem;
            border-radius: 0.75rem;
            margin-bottom: 1.5rem;
          }

          &-text {
            h2 {
              color: #F8AE4E;
              font-weight: 650;
              font-size: 1.5rem;
              line-height: 1;
              margin-bottom: 0.625rem;
            }
            h2:not(:first-of-type) {
              margin-top: 1rem;
            }

            p {
              text-indent: 2em;
              font-size: 1.2rem;
              line-height: 1.75rem;
              font-weight: 400;
              color: #F8AE4E;
              text-align: justify;
              text-align-last: left;
            }
          }
        }

        .instructions-section {
          display: flex;
          justify-content: center;
          flex-wrap: wrap;
          h1 {
            margin-top: 1.5rem;
            width: fit-content;
            background-color: #E6A65F;
            color: #FDF4D8;
            text-align: center;
            padding: 1rem 2.5rem;
            border-radius: 0.75rem;
            margin-bottom: 1.25rem;
          }
          &-text {
            p {
              text-indent: 2em;
              font-size: 1.25rem;
              line-height: 1.75rem;
              color: #F8AE4E;
              text-align: justify;
              text-align-last: left;
            }
          }
        }
      }
    }
  }

  footer {
    height: 3.125rem;
    margin-top: 3.75rem;
    background-color: #7D4729;

    .mobile-footer-block {
      width: 100%;
      margin: 0 auto;
      display: flex;
      justify-content: space-around;

      span {
        line-height: 3.125rem;
        font-size: 0.9rem;
        color: #f2f2f2;
        font-weight: 400;
      }

      a {
        line-height: 3.125rem;
        text-decoration: none;
        font-size: 0.9rem;
        color: #f2f2f2;
        font-weight: 400;
      }
    }
  }
}
